package com.chalk.mall.demo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author xiaoqiang
 * @Description 秒杀用户
 * @date 2019/2/28 17:06
 */
@Data
@TableName("miaosha_user")
public class MiaoshaUser {
    @TableId
    private Long id;

    @TableField("nickname")
    private String nickname;

    @TableField("password")
    private String password;

    @TableField("salt")
    private String salt;

    @TableField("head")
    private String head;

    @TableField("register_date")
    private Date registerDate;

    @TableField("lastLogin_date")
    private Date lastLoginDate;

    @TableField("login_count")
    private Integer loginCount;
}
